<html>
<head><meta charset="utf-8"><title>disk usage · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html">disk usage</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="194316798"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disk%20usage/near/194316798" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Samrat Man Singh <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html#194316798">(Apr 16 2020 at 14:57)</a>:</h4>
<p>Is there anything folks here do to minimize disk usage while developing? Or clean out old cached builds? I have a smallish SSD(256GB) and I'm constantly running out of space.</p>



<a name="194317468"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disk%20usage/near/194317468" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html#194317468">(Apr 16 2020 at 15:01)</a>:</h4>
<p><code>find build/x86_64-unknown-linux-gnu/stage*-* -type f -mtime +30 -delete</code> might be useful</p>



<a name="194317496"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disk%20usage/near/194317496" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html#194317496">(Apr 16 2020 at 15:01)</a>:</h4>
<p>(30 there is in days. it deletes files older than a month)</p>



<a name="194317532"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disk%20usage/near/194317532" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html#194317532">(Apr 16 2020 at 15:01)</a>:</h4>
<p>also make sure you're not building stage2</p>



<a name="194317764"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/disk%20usage/near/194317764" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> eddyb <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/disk.20usage.html#194317764">(Apr 16 2020 at 15:03)</a>:</h4>
<p>so when testing, you should run <code>./x.py test --stage 1 src/test/ui</code> for example</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>